package com.dingli.service;

import com.dingli.framework.entity.Customtraining;
import com.dingli.framework.entity.Trainmember;
import com.dingli.framework.util.Response;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomtrainingService {

    //查询列表
    Response<PageInfo<Customtraining>> CTselectList(String search, Integer pageNum, Integer pageSize);

    //查看详情
    Response<List<Customtraining>> CTselectAll (Long ctId);

    //审核通过
    Response<Object> CTupdateState(String ctId);

    //审核不通过
    Response<Object> CTupdate(String ctId);

    //查询所有不通过的
    Response <List<Customtraining>> CTselect(String ctId);

    //新增
    Response<Long> CTinsert(Customtraining customtraining);

    //修改
    Response<Object> CTupdateById(Customtraining customtraining);

    //删除
    Response<Object> CTdeleteById(Long ctId);
}
